package com.accp.service.impl;

import com.accp.pojo.Author;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.accp.dao.AuthorDao;
import com.accp.service.AuthorService;

import java.util.List;

@Service
public class AuthorServiceImpl implements AuthorService{

	@Autowired
	private AuthorDao authorDao;


	@Override
	public int insertSelective(Author author) {
		return authorDao.insertSelective(author);
	}

	@Override
	public List<Author> VerificationName(String name) {
		return authorDao.VerificationName(name);
	}

	@Override
	public Author Signin(String name, String Pwd) {
		return authorDao.Signin(name,Pwd);
	}
}